
package com.web.entity;

import java.util.List;

/**
 *
 * @author liqianru
 */
public class Grade {
    private String sid;
    private String sname;
    private String className;
    private String courseName; 
    private int grade;
    private List<Grade> gradeList;

    public List<Grade> getGradeList() {
        return gradeList;
    }

    public void setGradeList(List<Grade> gradeList) {
        this.gradeList = gradeList;
    }

    public Grade() {
    }
    
    public Grade(String sid, int grade) {
        this.sid = sid;
        this.grade = grade;
    }
    
    public Grade(String sid,String courseName, int grade) {
        this.sid = sid;
        this.courseName = courseName;
        this.grade = grade;
    }

    public Grade(String sid, String className, String courseName, int grade) {
        this.sid = sid;
        this.className = className;
        this.courseName = courseName;
        this.grade = grade;
    }

    public Grade(String sid, String sname, String className, String courseName, int grade) {
        this.sid = sid;
        this.sname = sname;
        this.className = className;
        this.courseName = courseName;
        this.grade = grade;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    @Override
    public String toString() {
        return "Grade{" + "sid=" + sid + ", sname=" + sname + ", className=" + className + ", courseName=" + courseName + ", grade=" + grade + ", gradeList=" + gradeList + '}';
    }
    
}
